To remove the first document that match a deletion criteria, call the remove method with the query criteria and the justOne parameter set to true or 1 . The ...
To delete all documents that match a deletion criteria, pass a filter parameter to the IMongoCollection.DeleteMany() method. The following example removes all ...
From the Documents tab, input a query into the Query Bar to filter deleted documents. To delete all documents in the collection, leave the Query Bar blank.
To delete one document, we use the delete_one() method. The first parameter of the delete_one() method is a query object defining which document to delete.